<?php
//---本模块专用的函数名
function admintoken($userid,$username)
{
	$str=md5('adminid='.$userid*rand(1000,5000).'&adminname='.$username);	
	$token=md5($str.time());
	return $token;
}

?>